package io.renren.modules.noc.dao;

import io.renren.modules.noc.entity.NocBusinessEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 展商数据表
 * 
 * @author whc
 * @email hucheng_86@126.com
 * @date 2019-07-02 15:17:18
 */
@Mapper
public interface NocBusinessDao extends BaseMapper<NocBusinessEntity> {

    public String getNextErCode(@Param("pre")String pre);


    public Integer getMemberCount(Map<String,Object> map);


    public Integer getMember(Map<String,Object> map);

    public void updateCompany(Map<String,Object> map);

    public Map<String,Object> getMpMax(Map<String,Object> map);

    public  Map<String,Object> getMemberId(Map<String,Object> map);

    public void updateSign(Map<String,Object> map);

    public Integer selectCount(Map<String,Object> map);

    public List<NocBusinessEntity> getBusinessByMemberLabel(Integer memberId);

    List<NocBusinessEntity> getErcodeByOpenId(Map<String,Object> map);

}
